<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}

.selectWidth2 {
	width: 205px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<input type="hidden" name="organizations/organization[0]/sequence_no" value="1" >
<input type="hidden" name="organizations/organization[0]@submit_org" value="1" >
<input type="hidden" name="organizations/organization[0]/org_code" 
						value="<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/>" >
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo" cellspacing="1">
	<tr>
		<td colspan="4" class="t_bar3">基本信息</td>

	</tr>
	<tr>
		<td align="right" width="18%"><span class="color_red">*</span>项目名称：</td>
		<td colspan="3"><x:out select="$xmlData/data/proposal/zh_title" />
		</td>
	</tr>
	<tr>
		<td align="right" width="18%"><span class="color_red">*</span>项目类别：</td>
		<td colspan="3"><x:out select="$xmlData/data/proposal/grant_name" />
		</td>
	</tr>
	<tr>
		<td align="right" width="18%"><span class="color_red">*</span>项目实施地点：</td>
		<td colspan="3"><x:out select="$xmlData/data/proposal/address" />
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>研发形式：</td>
		<td nowrap colspan="3" valign="middle"><x:out
				select="$xmlData/data/proposal/research_name" /></td>
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>申报领域：</td>
		<td colspan="3"><x:out
				select="$xmlData/data/proposal/domain_name" /></td>
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>学科名称：</td>
		<td colspan="3"><x:out
				select="$xmlData/data/proposal/subject_name" /></td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>归口管理部门：</td>
		<td colspan="3"><x:out
				select="$xmlData/data/proposal/recomend_org_name" /></td>
	</tr>
	<tr>
	<td align="right">曾列入何种科技计划：</td>
	<td nowrap  colspan="3" valign="middle">
	<x:out select="$xmlData/data/proposal/technologytype_name" /></td>
	</tr>
	<tr>
		<td align="right" ><span class="color_red">*</span>开始日期：</td>
		<td width="32%"><x:out select="$xmlData/data/proposal/start_date" /></td>
		<td align="right" width="18%"><span class="color_red">*</span>结束日期：</td>
		<td width="32%"><x:out select="$xmlData/data/proposal/end_date" /></td>
	</tr>
	<tr>
		<td align="right" nowrap width="18%"><span class="color_red">*</span>申报日期：</td>
		<td colspan="3"><x:out
				select="$xmlData/data/proposal/submit_date" /></td>
	</tr>
	
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org2">
	<tr style="display:none"></tr>
	<tr>
		<td align="left" style="padding-left: 20px" width="50%">是否为曾列入政府间国际科技合作议定书项目</td>
		<td align="center"><x:out
				select="$xmlData/data/proposal/shiorfor1_name" /></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">是否曾列入科技部重大国际合作专项（含对俄专项）</td>
		<td align="center"><x:out
				select="$xmlData/data/proposal/shiorfor2_name" /></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">申请单位是否曾列入科技部国际合作基地</td>
		<td align="center"><x:out select="$xmlData/data/proposal/shiorfor3_name" />
		</td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">申请单位是否曾列入安徽省国际合作基地</td>
		<td align="center"><x:out select="$xmlData/data/proposal/shiorfor4_name" />
		</td>
	</tr>
	</table>

<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1">

	<%-- <tr>
		<td class="t_bar3" colspan="4">合作单位信息</td>

	</tr>
	<tr>
		<td class="t_bar3" colspan="4">合作单位信息1</td>

	</tr>
	<tr>
		<td align="right" width="18%">单位名称：</td>
		<td colspan="3"><x:out select="$xmlData/data/proposal/org_name1" />
		</td>
	</tr>
	<tr>
		<td align="right">单位地址：</td>
		<td colspan="3"><x:out select="$xmlData/data/proposal/address1" />
		</td>
	</tr>
	<tr>
		<td width="18%" align="right">注册类型：</td>
		<td  align="left" width="230px;"><x:out
				select="$xmlData/data/proposal/nature1_name" /></td>
		<td align="right">组织机构代码：</td>
		<td width="230px;"><x:out select="$xmlData/data/proposal/org_no1" /></td>
	</tr>
	<tr>
		<td align="right">联系人：</td>
		<td width="230px;"><x:out select="$xmlData/data/proposal/lxr_name1" /></td>
		<td align="right" >电话：</td>
		<td width="230px;"><x:out select="$xmlData/data/proposal/lxr_tel1" /></td>
	</tr> --%>
	<tr>
		<td class="t_bar2" colspan="4">申请单位信息</td>
	</tr>
	<tr>
		<td width="18%" align="right" nowrap>单位名称：</td>
		<td width="32%">&nbsp;<span name="organizations/organization[0]/org_name"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" /></span></td>
		<td align="right" nowrap width="18%">单位负责人：</td>
		<td width="32%">
		&nbsp;<span name="organization_persons/person[0]/cname"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/cname" /></span></td>
	</tr>
	<tr>
		<td width="18%" align="right" nowrap>通讯地址：</td>
		<td >&nbsp;<span name="organizations/organization[0]/address"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/address" /></span></td>
		<td align="right" nowrap>邮政编码：</td>
		<td >&nbsp;<span name="organizations/organization[0]/zip_code"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/zip_code" /></span></td>
	</tr>
	<tr>
		<td width="18%" align="right" nowrap>传真：</td>
		<td >&nbsp;<span name="organizations/organization[0]/fax"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/fax" /></span></td>
		<td align="right" nowrap>电话：</td>
		<td >&nbsp;<span name="organizations/organization[0]/org_tel"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_tel" /></span></td>
	</tr>
	<tr>
		<td class="t_bar3" colspan="4">外方合作单位信息</td>

	</tr>
	<tr>
		<td align="right">单位名称：</td>
		<td colspan="3"><x:out select="$xmlData/data/proposal/org_name" />
		</td>
	</tr>
	<tr>
		<td  align="right" width="18%">项目联系人：</td>
		<td width="32%"><x:out select="$xmlData/data/proposal/contact_name" /></td>
		<td align="right" width="18%">通讯地址：</td>
		<td width="32%"><x:out select="$xmlData/data/proposal/address2" /></td>
	</tr>
	<%-- <tr>
		<td align="right">单位地址：</td>
		<td colspan="3"><x:out select="$xmlData/data/proposal/address2" />
		</td>
	</tr> --%>
	<%-- <tr>
		<td  align="right">注册类型：</td>
		<td  align="left" colspan="1"><x:out
				select="$xmlData/data/proposal/nature2_name" /></td>
		<td align="right">组织机构代码：</td>
		<td><x:out select="$xmlData/data/proposal/org_no2" /></td>
	</tr> --%>
	<tr>
		<td align="right">传真：</td>
		<td><x:out select="$xmlData/data/proposal/portraiture2" /></td>
		<td align="right">电话：</td>
		<td><x:out select="$xmlData/data/proposal/lxr_tel2" /></td>
	</tr>
</table>
<table>
	<tr>
		<table class="t_css" width="100%" border="0" cellpadding="0"
			cellspacing="1">
			<thead>
				<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="4%">序号</th>
						<th class="TblHead" align="center"  width="9%">合作开始日期</th>
						<th class="TblHead" align="center"  width="9%">合作结束日期</th>
						<th class="TblHead" align="center"  width="9%">合作国别</th> 
						<th class="TblHead" align="center"  width="9%">合作机构名称</th>
					</tr>
			</thead>			
			<tbody id="tab">
			       <c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/cooperations/cooperation" var="cooperation">
					<c:choose>
						<c:when test="${index<10}">
							<c:set value="0" var="flag" scope="page" />
						</c:when>
						<c:otherwise>
							<c:set value="" var="flag" scope="page" />
						</c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center" nowrap="nowrap">&nbsp;
							<x:out select="$cooperation/@seq_no"/>
						</td>
						<td align="center" nowrap="nowrap">&nbsp;
							<x:out select="$cooperation/start_date"/>
						</td>
						<td align="center" nowrap>&nbsp;
							<x:out select="$cooperation/end_date"/>
						</td>
						<td align="center">
						<x:out select="$cooperation/country_name" /></td>
						<td align="center"><x:out select="$cooperation/frameworkname" /></td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page" />
				</x:forEach>
			</tbody>
		</table>
		</tr>
</table>
<table>
	<tr>
		<td class="t_bar3" colspan="4">协议签署情况</td>
	</tr>
	<tr>
		<table class="t_css" width="100%" border="0" cellpadding="0"
			cellspacing="1">
			<thead>
				<tr style="border:1px solid #B7D1E6">
								<!-- <th class="TblHead" align="center"  width="4%">选择</th> -->
								<th class="TblHead" align="center"  width="4%">序号</th>
								<th class="TblHead" align="center"  width="9%">协议名称</th> 
								<th class="TblHead" align="center"  width="9%">签订时间</th>  
						        <th class="TblHead" align="center"  width="9%">合作对象</th> 
								<th class="TblHead" align="center"  width="9%">备注</th>         
				</tr>
			</thead>
			<tbody id="tab">
				<x:forEach select="$xmlData/data/agreements/list" var="list">
					<c:choose>
						<c:when test="${index<10}">
							<c:set value="0" var="flag" scope="page" />
						</c:when>
						<c:otherwise>
							<c:set value="" var="flag" scope="page" />
						</c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp; <span
							name="agreements/list[${flag}${index}]@seq_no"><x:out
									select="$list/@seq_no" /></span>
						</td>
						<td><x:out select="$list/protocolname" /></td>
		
						<%-- <td><x:out select="$list/model" /></td> --%>
						<td align="center" nowrap>&nbsp;
							<x:out select="$list/date"/>
						</td>
		
						<td><x:out select="$list/hzdx" /></td>
		
						<td><x:out select="$list/remarks" /></td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page" />
				</x:forEach>
			</tbody>
		</table>
		</tr>
</table>	
<jsp:include page="../attach/prpps_psninformation.jsp">
						<jsp:param value="${param.xmlstr}" name="xmlstr" />
					</jsp:include>
